// 课程数据模型
export interface Course {
  id: number;
  title: string;
  description: string;
  instructor: string;
  credits: number;
  duration: string;
  enrolledStudents: number;
  rating: number;
  coverImage: string;
  tags: string[];
}

// 模拟课程数据
export const mockCourses: Course[] = [
  {
    id: 1,
    title: "鸿蒙应用开发基础",
    description: "学习鸿蒙操作系统应用开发的基础知识，包括UI组件、生命周期管理等核心概念。",
    instructor: "张老师",
    credits: 3,
    duration: "8周",
    enrolledStudents: 1280,
    rating: 4.8,
    coverImage: "/common/ohos.png",
    tags: ["鸿蒙", "应用开发", "基础"]
  },
  {
    id: 2,
    title: "分布式应用架构设计",
    description: "深入理解鸿蒙分布式能力，学习如何构建跨设备协同的应用架构。",
    instructor: "李教授",
    credits: 4,
    duration: "10周",
    enrolledStudents: 960,
    rating: 4.9,
    coverImage: "/common/distributed.png",
    tags: ["分布式", "架构", "高级"]
  },
  {
    id: 3,
    title: "HarmonyOS UI设计与实现",
    description: "掌握鸿蒙特色的UI设计理念和实现技巧，打造流畅美观的用户界面。",
    instructor: "王设计师",
    credits: 3,
    duration: "6周",
    enrolledStudents: 2100,
    rating: 4.7,
    coverImage: "/common/ui.png",
    tags: ["UI设计", "界面", "用户体验"]
  },
  {
    id: 4,
    title: "鸿蒙应用性能优化",
    description: "学习鸿蒙应用的性能分析和优化技术，提升应用响应速度和用户体验。",
    instructor: "陈工程师",
    credits: 4,
    duration: "8周",
    enrolledStudents: 780,
    rating: 4.6,
    coverImage: "/common/performance.png",
    tags: ["性能优化", "调试", "高级"]
  },
  {
    id: 5,
    title: "鸿蒙AI能力开发",
    description: "探索鸿蒙AI框架的使用，学习如何在应用中集成和利用AI能力。",
    instructor: "刘博士",
    credits: 5,
    duration: "12周",
    enrolledStudents: 640,
    rating: 4.9,
    coverImage: "/common/ai.png",
    tags: ["AI", "机器学习", "创新"]
  }
];